home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / share / 04 / setup.exe / MM6.Cab / F2346_ConfirmLink.action.F6A680DD_F3FB_4CF3_BABB_0D0F06E630F5 < prev    next >
Text File  |  2000-08-17  |  4KB  |  106 lines

  1. <html>
  2.  
  3.     <head>
  4.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  5.         <title>Confirm Link action</title>
  6.         <meta name="generator" content="Adobe GoLive 5">
  7.     </head>
  8.  
  9.     <body bgcolor="white">
  10.         <center>
  11.             <font size="6">Confirm Link 1.0</font>
  12.             <p>© 1999, Adobe Systems Incorporated<br>
  13.             All rights reserved.</p>
  14.             <p>script by Walter Blady</p>
  15.             <hr>
  16.         </center>
  17.         <csactionclass name="Confirm link" function="WBConfirmLink" nsversion="3" ieversion="3">
  18.         <csactionparam name="message" type="GLActionStringParam"></csactionparam>
  19.         <csactionparam name="URL" type="GLActionURLParam"></csactionparam>
  20.         <csactionparam name="frame" type="GLActionStringParam"></csactionparam>
  21.         </csactionclass>
  22.         <p>
  23.         <script language="JavaScript1.2" cyberversion="N1.2"><!--
  24. // Script copyright 1999, Adobe Systems Incorporated. All rights reserved.
  25.  
  26. function WBConfirmLink(action) {
  27.      
  28.     if (checkIt(action)) {
  29.          
  30.         if (action[2] != "(Empty Reference!)") {
  31.          
  32.             if (action[3].length < 1) {
  33.                 parent.location.href=action[2];
  34.             }
  35.              
  36.             else {
  37.                 parent.frames[action[3]].location.href=action[2];
  38.             }
  39.         }
  40.     }
  41.     return;
  42. }
  43. function checkIt(action) {
  44.     var carryOn = window.confirm(action[1]);
  45.     return carryOn;
  46.     }
  47. // -->
  48.         </script>
  49.          </p>
  50.         <table cool width="223" height="182" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
  51.             <tr height="9">
  52.                 <td width="4" height="181" rowspan="8"><spacer type="block" width="4" height="181"></td>
  53.                 <td width="218" height="9"><spacer type="block" width="218" height="9"></td>
  54.                 <td width="1" height="9"><spacer type="block" width="1" height="9"></td>
  55.             </tr>
  56.             <tr height="18">
  57.                 <td width="218" height="18" valign="top" align="left" xpos="4">
  58.                     <csactioncntrl type="InfoText" value='Message (Use "\n" to start a new line.)' x="4" y="9" width="218" height="16" alignx="left" aligny="top">
  59.                 </td>
  60.                 <td width="1" height="18"><spacer type="block" width="1" height="18"></td>
  61.             </tr>
  62.             <tr height="22">
  63.                 <td width="218" height="22" valign="top" align="left" xpos="4">
  64.                     <csactioncntrl name="message" x="4" y="27" width="212" height="18" alignx="scale" aligny="top">
  65.                 </td>
  66.                 <td width="1" height="22"><spacer type="block" width="1" height="22"></td>
  67.             </tr>
  68.             <tr height="18">
  69.                 <td width="218" height="18" valign="top" align="left" xpos="4">
  70.                     <csactioncntrl type="InfoText" value="Go to this URL on OK (optional)" x="4" y="49" width="184" height="16" alignx="left" aligny="top">
  71.                 </td>
  72.                 <td width="1" height="18"><spacer type="block" width="1" height="18"></td>
  73.             </tr>
  74.             <tr height="27">
  75.                 <td width="218" height="27" valign="top" align="left" xpos="4">
  76.                     <csactioncntrl name="URL" x="4" y="67" width="212" height="20" alignx="scale" aligny="top">
  77.                 </td>
  78.                 <td width="1" height="27"><spacer type="block" width="1" height="27"></td>
  79.             </tr>
  80.             <tr height="20">
  81.                 <td width="218" height="20" valign="top" align="left" xpos="4">
  82.                     <csactioncntrl type="InfoText" value="Target frame name (optional)" x="4" y="94" width="163" height="16" alignx="left" aligny="top">
  83.                 </td>
  84.                 <td width="1" height="20"><spacer type="block" width="1" height="20"></td>
  85.             </tr>
  86.             <tr height="22">
  87.                 <td width="218" height="22" valign="top" align="left" xpos="4">
  88.                     <csactioncntrl name="frame" x="4" y="114" width="212" height="17" alignx="scale" aligny="top">
  89.                 </td>
  90.                 <td width="1" height="22"><spacer type="block" width="1" height="22"></td>
  91.             </tr>
  92.             <tr height="45">
  93.                 <td width="218" height="45" valign="top" align="left" xpos="4">
  94.                     <csactioncntrl type="InfoText" value="This action opens a Confirm window and allows a connection to the optional URL if OK has been clicked." x="4" y="136" width="216" height="43" alignx="scale" aligny="top">
  95.                 </td>
  96.                 <td width="1" height="45"><spacer type="block" width="1" height="45"></td>
  97.             </tr>
  98.             <tr height="1" cntrlrow>
  99.                 <td width="4" height="1"><spacer type="block" width="4" height="1"></td>
  100.                 <td width="218" height="1"><spacer type="block" width="218" height="1"></td>
  101.                 <td width="1" height="1"><spacer type="block" width="1" height="1"></td>
  102.             </tr>
  103.         </table>
  104.     </body>
  105.  
  106. </html>